import { ListPage } from './../pages/list/list';
import { ItemDetailsPage } from './../pages/item-details/item-details';
import { SexyService } from './app.service';
import { HelloIonicPage } from './../pages/hello-ionic/hello-ionic';
import { NgModule, ErrorHandler } from '@angular/core';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { MyApp } from './app.component';



@NgModule({
  declarations: [
    MyApp, HelloIonicPage, ItemDetailsPage, ListPage
  ],
  imports: [
    IonicModule.forRoot(MyApp, {
      backButtonText: '返回', mode: 'ios'
    })
  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp, HelloIonicPage, ItemDetailsPage, ListPage
  ],
  providers: [SexyService]
})
export class AppModule { }
